package com.kuang.demo.service;

import com.kuang.demo.bo.zzy.Role.ValueLabel;
import com.kuang.demo.mapper.RoleMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class RoleServiceImpl implements RoleService {
    @Autowired
    RoleMapper roleMapper;

    @Override
    public List<ValueLabel> selectAllRole() {
        List<ValueLabel> labels = roleMapper.selectAllRole();

        return labels;
    }
}
